/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package org.sunspotworld;

/**
 *
 * @author seb
 */
public interface Protocol {
  
    // Handshake
    public static final int INVITE = 0;
    public static final int ACCEPTINVITE = 1;
    public static final int CONFIRMINVITE = 2;
    public static final int CANCEL_CONNECTION = 3;
    //Game
    public static final int WAITFORSTART = 4;
    public static final int STARTGAME = 5;
    public static final int DEADPLAYER = 6;
    public static final int POTATOE = 7;
    public static final int NEWROUND = 8;
    public static final int ARE_YOU_THERE = 9;
    public static final int I_AM_HERE = 10;
    //host messages
    public static final int GET_SCORE = 11;
    public static final int RECEIVE_SCORE = 12;
    public static final int GET_STATE = 13;
    public static final int RECEIVE_STATE = 14;
    public static final int SET_GAMETIME = 15;
    public static final int NOTPLAYING = 16;
}
